package com.witmed.entity;
/**
 * 部门实体模型
 * @author hourenjie
 *
 */


public class Department {

	private Integer departmentId;
	private String  departmentName;
	private Hospital hospital;
	
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public Hospital getHospital() {
		return hospital;
	}
	public void setHospital(Hospital hospital) {
		this.hospital = hospital;
	}
	@Override
	public String toString() {
		return "Department [departmentId=" + departmentId + ", departmentName=" + departmentName + ", hospital="
				+ hospital + "]";
	}
	public Department(Integer departmentId, String departmentName, Hospital hospital) {
		super();
		this.departmentId = departmentId;
		this.departmentName = departmentName;
		this.hospital = hospital;
	}
	public Department() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
